<?php namespace Summer\Hjd\Models;

use Model;

/**
 * Model
 */
class ShareModel extends Model
{
    use \Winter\Storm\Database\Traits\Validation;
    

    /**
     * @var string The database table used by the model.
     */
    public $table = 'summer_hjd_share';

    /**
     * @var array Validation rules
     */
    public $rules = [
    ];
    public $belongsTo = [
        'target' => ['RainLab\User\Models\User', 'key' => 'share_uid','otherKey'=>'id'],
        'relate' => ['RainLab\User\Models\User', 'key' => 'user_id','otherKey'=>'id']
    ];
}
